.TH std::experimental::is_abi_tag 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::experimental::is_abi_tag \- std::experimental::is_abi_tag

.SH Synopsis
   Defined in header <experimental/simd>
   template< class T >                    (parallelism TS v2)
   struct is_abi_tag;

   If T is an ABI tag in the simd_abi namespace, provides the member constant value
   equal true. For any other type, value is false.

.SH Template parameters

   T - a type to check

   Helper variable template

   template< class T >                                         (parallelism TS v2)
   inline constexpr bool is_abi_tag_v = is_abi_tag<T>::value;



Inherited from std::integral_constant

.SH Member constants

   value    true if T is an ABI tag type, false otherwise
   \fB[static]\fP \fI(public static member constant)\fP

.SH Member functions

   operator bool converts the object to bool, returns value
                 \fI(public member function)\fP
   operator()    returns value
   \fI(C++14)\fP       \fI(public member function)\fP

.SH Member types

   Type       Definition
   value_type bool
   type       std::integral_constant<bool, value>

.SH Example


// Run this code

 #include <experimental/simd>
 #include <iostream>

 int main()
 {
     namespace stdx = std::experimental;
     std::cout << std::boolalpha
               << stdx::is_abi_tag_v<stdx::simd_abi::scalar> << '\\n'
               << stdx::is_abi_tag_v<int> << '\\n';
 }

.SH Output:

 true
 false

.SH See also

   is_simd_flag_type   checks if a type is a simd flag type
   (parallelism TS v2) \fI(class template)\fP
